
package com.insigma.business.qrcode.intell.service;

import com.insigma.business.qrcode.intell.entity.CommonQaInfoDO;
import com.insigma.business.qrcode.intell.dto.CommonQaInfoBSearcher;

import java.util.List;

public interface CommonQaInfoService {

   
    List<CommonQaInfoDO> search(final CommonQaInfoBSearcher innerSearcher);

    Integer addHelpfulCount(String title, Boolean helpful);

    Integer addHelpfulCountById(String id, Boolean helpful);


    CommonQaInfoDO get(final String id);


    Integer insert(final CommonQaInfoDO commonQaInfo);


    Integer update(final CommonQaInfoDO commonQaInfo);


    Integer delete(final String id, final String modifierType, final String modifierId);

}
